﻿<UserControl x:Class="jSLCore.Client.Presentation.TelerikSupport.Controls.jStringFilteringControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Controls1="clr-namespace:jSLCore.Client.Presentation.Controls;assembly=jSLCore.Client.Presentation.Wpf" xmlns:Controls="clr-namespace:jSLCore.Client.Presentation.TelerikSupport.Controls" mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
	<UserControl.Resources>
        <Storyboard x:Key="PreSearchAnimation" AutoReverse="False">
			<DoubleAnimation Duration="0:0:1" To="1" Storyboard.TargetProperty="(Control.Background).(GradientBrush.GradientStops)[2].(GradientStop.Offset)" Storyboard.TargetName="txt" d:IsOptimized="True"/>
		</Storyboard>
	</UserControl.Resources>
    <Border CornerRadius="2" BorderThickness="0">
        <Border.Background>
        	<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.895">
        		<GradientStop Color="#FFC5DDFB" Offset="0.006"/>
        		<GradientStop Color="#FF56C7F5" Offset="1"/>
        	</LinearGradientBrush>
        </Border.Background>
        <Controls:jNullableBox Margin="5">
            <TextBox Width="200" x:Name="txt" TextChanged="text_Changed">
            	<TextBox.Background>
            		<LinearGradientBrush EndPoint="0.968,0.507" StartPoint="-0.04,0.507">
            			<GradientStop Color="#FFB0D1DC"/>
            			<GradientStop Color="White" Offset="1"/>
            			<GradientStop Color="#FFE0E8EB"/>
            		</LinearGradientBrush>
            	</TextBox.Background>
            </TextBox>
        </Controls:jNullableBox>
    </Border>
</UserControl>
